package com.example.aigc_education.domain.request;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class AddThemeRequest {

    /**
     * 标题
     */
    @NotBlank(message = "主题的标名不能为空")
    private String themeTitle;

    /**
     * 光联计划id
     */
    @NotNull(message = "计划id不能为空")
    private Long planId;

    /**
     * 上级主题id
     */
    @NotNull(message = "上级主题id不能为空")
    private Long superiorThemeId;
}
